package com.huosu.domain.miner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 优惠规则
 * </p>
 *
 * @author zhangjian
 * @since 2019-12-10
 */
@Data
@ApiModel(value = "优惠规则", description = "")
public class ComputeRule implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "到达金额")
	private BigDecimal amount;

	@ApiModelProperty(value = "优惠金额")
	private BigDecimal discount;

}
